//
//  RadioDetailTableViewCell.m
//  CoolFM
//
//  Created by 曹曹 on 16/9/18.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "RadioDetailTableViewCell.h"
#import "RadioDetailPrograms.h"

@interface RadioDetailTableViewCell ()
@property (weak, nonatomic) IBOutlet UILabel *time;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *djName;
@property (weak, nonatomic) IBOutlet UILabel *statusLabel;

@end

@implementation RadioDetailTableViewCell

- (void)setProgram:(RadioDetailPrograms *)program {
    _program = program;
    _time.text = [program.broadcast_time componentsSeparatedByString:@" "][1];
    _titleLabel.text = program.record_name;
    _djName.text = program.dj;
#warning 这里需要修改
    _statusLabel.text = @"回听";
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
